const router = {
  path: '/exam',
  meta: { title: '考试管理' },
  children: [
      {
          path: '/exam/exams',
          meta: { title: '我的考试', keepAlive: true },
          component: () => import('@p/exam/exams/index.vue')
      },
      {
          path: '/exam/exams/add',
          meta: { title: '新增考试', notMenu: true, keepAlive: false },
          component: () => import('@p/exam/exams/detail/index.vue')
      },
      {
          path: '/exam/exams/edit',
          meta: { title: '编辑考试', notMenu: true, keepAlive: false },
          component: () => import('@p/exam/exams/detail/index.vue')
      },
      {
          path: '/exam/exams/examinee',
          meta: { title: '考生配置', notMenu: true, keepAlive: false },
          component: () => import('@p/exam/exams/examinee/index.vue')
      },
      {
          path: '/exam/exams/situation',
          meta: { title: '考试情况', notMenu: true, keepAlive: false },
          component: () => import('@p/exam/exams/situation/index.vue')
      },
      {
          path: '/exam/category',
          meta: { title: '考试类型', notMenu: true, keepAlive: true },
          component: () => import('@p/exam/category/index.vue')
      },
      {
          path: '/exam/category/add',
          meta: { title: '添加考试类型', notMenu: true, keepAlive: false },
          component: () => import('@/page/exam/category/detail/index.vue')
      },
      {
          path: '/exam/category/edit',
          meta: { title: '编辑考试类型', notMenu: true, keepAlive: false },
          component: () => import('@/page/exam/category/detail/index.vue')
      }
  ]
}

export default router
